package henu.dao;

import henu.bean.Permission;
import henu.bean.Role;

import java.util.List;


/**
 * @author <oaksharks@163.com>
 * Created On 15-5-12
 * */
public interface PermissionDao {

	// 找到所有权限
	public List<Permission> findAllPermission();
	
	public Permission findPermisstionById(int pid);

	public List<Permission> findByProperty(String property,String key ,String order ,String sort);
}